// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-04A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Joe Satriani & Steve Vai','ACL Live At The Moody Theater','Austin, TX','Friday','5/3/2024','8:00 PM','6069927','Joe-Satriani---Steve-Vai-5-3-2024'],['The Teskey Brothers','ACL Live At The Moody Theater','Austin, TX','Saturday','5/4/2024','8:00 PM','6129436','The-Teskey-Brothers-5-4-2024'],['EMO Orchestra: Escape The Fate','ACL Live At The Moody Theater','Austin, TX','Friday','5/10/2024','8:00 PM','6231196','EMO-Orchestra--Escape-The-Fate-5-10-2024'],['Waxahatchee','ACL Live At The Moody Theater','Austin, TX','Saturday','5/11/2024','8:00 PM','6205954','Waxahatchee-5-11-2024'],['Slowdive','ACL Live At The Moody Theater','Austin, TX','Sunday','5/12/2024','8:00 PM','6133157','Slowdive-5-12-2024'],['Get The Led Out - Tribute Band','ACL Live At The Moody Theater','Austin, TX','Thursday','5/16/2024','8:00 PM','6308705','Get-The-Led-Out---Tribute-Band-5-16-2024'],['The Mavericks','ACL Live At The Moody Theater','Austin, TX','Friday','5/17/2024','8:00 PM','6229708','The-Mavericks-5-17-2024'],['The Mavericks','ACL Live At The Moody Theater','Austin, TX','Saturday','5/18/2024','8:00 PM','6229706','The-Mavericks-5-18-2024'],['Rainbow Kitten Surprise ','ACL Live At The Moody Theater','Austin, TX','Thursday','5/23/2024','8:00 PM','6331723','Rainbow-Kitten-Surprise--5-23-2024'],['Rainbow Kitten Surprise ','ACL Live At The Moody Theater','Austin, TX','Friday','5/24/2024','8:00 PM','6321963','Rainbow-Kitten-Surprise--5-24-2024']],'"Austin City Limits"','https://www.ticketnetwork.com');